#include "dirmanager.h"

DirManager::DirManager()
{
}

bool DirManager::CreateFolder(QString path, QString name)
{
    QDir dir;// = new QDir;
    bool exist = dir.exists(path+name);

    if (exist)
    {
        return false;
    }
    else
    {
        bool ok = dir.mkdir(path+name);

        return ok;
    }
}
